package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.Date;

/**
 * @Author : Cxp
 * @Time : 2024-10-18
 * @Description : 星星点灯日志
 */

@FieldTypeAnnotation(tableName = "t_l_activity_star_light", desc = "星星点灯档位", autoSave = true, uploadCk = true,
        dataUpload = true, eventName = "star_light")
public class LogActivityStarLight extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "活动ID", isIndex = true, dataAttribute = "activityid")
    private int activityId;
    @FieldTypeAnnotation(desc = "玩家ID", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "点灯类型", dataAttribute = "star_lightype")
    private int lightType;
    @FieldTypeAnnotation(desc = "礼包序号", dataAttribute = "star_lightid")
    private int num;
    @FieldTypeAnnotation(desc = "支付项目ID", dataAttribute = "pay_reason_id")
    private long mallId;
    @FieldTypeAnnotation(desc = "商品标识ID", dataAttribute = "pay_reason_markid")
    private long mallMarkId;
    @FieldTypeAnnotation(desc = "时间")
    private Date logTime;

    @Override
    public long getUserId() {
        return userId;
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getLightType() {
        return lightType;
    }

    public void setLightType(int lightType) {
        this.lightType = lightType;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public long getMallId() {
        return mallId;
    }

    public void setMallId(long mallId) {
        this.mallId = mallId;
    }

    public long getMallMarkId() {
        return mallMarkId;
    }

    public void setMallMarkId(long mallMarkId) {
        this.mallMarkId = mallMarkId;
    }

    public Date getLogTime() {
        return logTime;
    }

    public void setLogTime(Date logTime) {
        this.logTime = logTime;
    }
}
